package com.nervenets.template.controller.common;

import com.nervenets.general.jwt.aspect.JwtRole;
import com.nervenets.general.web.BaseTreeEntityController;
import com.nervenets.general.web.params.TreeQueryParams;
import com.nervenets.template.controller.common.params.CityFormParams;
import com.nervenets.template.controller.common.params.CityPagingParams;
import com.nervenets.template.hibernate.domain.common.City;
import com.nervenets.template.service.CityService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "开通城市接口v1", tags = "开通城市相关接口")
@RestController
@RequestMapping("/api/city")
@JwtRole(group = "courses", groupName = "课程管理", function = "city", functionName = "城市管理", queue = 80)
public class CityController extends BaseTreeEntityController<City, CityService, CityFormParams, CityPagingParams, TreeQueryParams<City>, City, City> {
}
